package com.hoas.quickstart.threads.chapter03.chapter03_1_11_4;

public class C {

    private MyStack stack;

    public C(MyStack stack) {
        this.stack = stack;
    }

    public void popService() {
        System.out.println("pop value: " + stack.pop());
    }

}
